<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>现代应用部署指南 | 从构建到运维的完整流程</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: "Noto Sans SC", "Noto Serif SC", Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
        }
        .code-block {
            background-color: #1e293b;
            border-left: 4px solid #7c3aed;
        }
        .hover-scale {
            transition: transform 0.3s ease;
        }
        .hover-scale:hover {
            transform: translateY(-4px);
        }
        .section-divider {
            border-image: linear-gradient(to right, transparent, #7c3aed, transparent) 1;
        }
        .highlight {
            position: relative;
            z-index: 1;
        }
        .highlight:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 5px;
            width: 100%;
            height: 15px;
            background-color: rgba(124, 58, 237, 0.2);
            z-index: -1;
            transform: skew(-12deg);
        }
        .mermaid {
            background-color: white;
            padding: 1.5rem;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
    </style>
</head>
<body class="antialiased">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-4 md:px-0">
        <div class="container mx-auto max-w-6xl px-4">
            <div class="flex flex-col md:flex-row items-center justify-between">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold leading-tight mb-6">
                        <span class="highlight">现代应用部署指南</span>
                    </h1>
                    <p class="text-xl text-indigo-100 mb-8">从构建到运维的完整流程解析与实践</p>
                    <div class="flex items-center space-x-4">
                        <span class="inline-block bg-indigo-500 text-xs px-3 py-1 rounded-full uppercase tracking-wider font-semibold">DevOps</span>
                        <span class="inline-block bg-indigo-500 text-xs px-3 py-1 rounded-full uppercase tracking-wider font-semibold">CI/CD</span>
                        <span class="inline-block bg-indigo-500 text-xs px-3 py-1 rounded-full uppercase tracking-wider font-semibold">Cloud Native</span>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <div class="relative w-64 h-64 md:w-80 md:h-80">
                        <div class="absolute top-0 left-0 w-full h-full bg-indigo-500 rounded-xl opacity-20 transform rotate-6"></div>
                        <div class="absolute top-0 left-0 w-full h-full bg-purple-500 rounded-xl opacity-20 transform -rotate-6"></div>
                        <div class="absolute top-0 left-0 w-full h-full bg-white rounded-xl shadow-xl flex items-center justify-center">
                            <div class="p-4 text-center">
                                <i class="fas fa-server text-5xl text-indigo-600 mb-4"></i>
                                <h3 class="font-bold text-gray-800">部署流程</h3>
                                <p class="text-gray-600 text-sm mt-2">构建 → 测试 → 发布 → 运维</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-6xl px-4 py-12">
        <!-- Introduction -->
        <section class="mb-20">
            <div class="bg-white rounded-xl shadow-md overflow-hidden hover-scale transition-all duration-300">
                <div class="p-8">
                    <h2 class="text-2xl font-bold text-gray-800 mb-4 flex items-center">
                        <i class="fas fa-info-circle text-indigo-500 mr-3"></i>
                        关于部署流程
                    </h2>
                    <p class="text-gray-600 mb-6">
                        在实际项目中，部署是将应用程序从开发环境迁移到生产环境的过程。这个过程通常包括多个阶段，从构建、测试到发布和运维。一个高效、可靠的部署流程是确保应用程序稳定运行和快速迭代的关键。
                    </p>
                    <div class="flex flex-wrap gap-4 mt-6">
                        <div class="flex items-center bg-indigo-50 px-4 py-2 rounded-lg">
                            <i class="fas fa-cogs text-indigo-500 mr-2"></i>
                            <span class="text-sm font-medium text-indigo-700">自动化构建</span>
                        </div>
                        <div class="flex items-center bg-indigo-50 px-4 py-2 rounded-lg">
                            <i class="fas fa-vial text-indigo-500 mr-2"></i>
                            <span class="text-sm font-medium text-indigo-700">持续测试</span>
                        </div>
                        <div class="flex items-center bg-indigo-50 px-4 py-2 rounded-lg">
                            <i class="fas fa-rocket text-indigo-500 mr-2"></i>
                            <span class="text-sm font-medium text-indigo-700">无缝发布</span>
                        </div>
                        <div class="flex items-center bg-indigo-50 px-4 py-2 rounded-lg">
                            <i class="fas fa-eye text-indigo-500 mr-2"></i>
                            <span class="text-sm font-medium text-indigo-700">监控运维</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Deployment Process Diagram -->
        <section